-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning fixes (everywhere) #766
Conversation
... or the actions could just... not run. Warnings must be bad then. |
b4e51ed
to
d12e85e
Compare
5x the commits later... macOS and MinGW are clean, STM32 has 6 warnings, PicoSystem is mostly fixed by #764, VS is... VS and I'm leaving the clang-tidy stuff in the Linux build for now. |
Hmm, it's not that bad, Daft-Freak@d7bd600 fixes more than half of those (I was bored) |
e8936f2
to
64e7b4b
Compare
I guess I should merge this first and then duck under the maelstrom of merge conflicts 👀 |
Mmm yeah, I really got carried away there didn't I? 😆 |
This could only be a problem if reading >2GB was possible
Okay, actions won't see these but...
One of these has a missng break... but looking closer, none of them are actually used
This is causing warnings now, and doesn't appear to help any more either
This now has the opposite effect (more warnings), fun. This reverts commit a92b87d.
None of these have custom destructors or assignment operators, so we can just use the implicitly defined copies. This also avoids some -Wdeprecated-copy warnings
It's a 3rd-party lib and this also stops clang-tidy checking it
My local clang-tidy excludes minimp3 without this, the one in the action doesn't...
Remove unused variables and outdated commented out code
This still has the problem that all the code using ParticleGenerator is dead
Also save some memory in platformer by using the right size for the mask
64e7b4b
to
85275f4
Compare
QUICK! MERGE 😆 |
I made the mistake of looking at my build output.
After reducing the warning count a lot, this also sets the same warning flags as the boilerplate to hopefully catch more warnings. (May result in more commits if actions reports loads)